jQuery.noConflict();

function showOverlay() {
	if( !jQuery('#overlayDiv').length ) {
		var overlayHeight = jQuery(document).height() + 20;
		jQuery('body').prepend('<div id="overlayDiv" style="background: #222; opacity: 0.96; z-index: 9998; width:100%; height: ' + overlayHeight + 'px; position: absolute; display: none;"></div>');
	}
	jQuery('#overlayDiv').fadeIn("slow");
	
	var css = {
		"z-index" : "9999",
		"box-shadow" : "0 0 60px #000"
	}
	jQuery('.vimeo_holder').css(css);
};

function hideOverlay() {
	jQuery('.vimeo_holder').css("box-shadow", "0 0 0");

	function done() {
		jQuery('.vimeo_holder').css("z-index", "1");
	}

	jQuery("#overlayDiv").fadeOut("slow", done);
};